//
//  TTHomeListViewCell.h
//  TaoTuo
//
//  Created by admin on 2019/8/17.
//  Copyright © 2019 admin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TTHomeListModel.h"

@class TTHomeListViewCell;

@protocol TTHomeListViewCellDelegate <NSObject>

///点击了取消收藏的按钮
- (void)cancelCollectionBtnClickWithViewCell:(TTHomeListViewCell *_Nullable)cell;

@end

NS_ASSUME_NONNULL_BEGIN

@interface TTHomeListViewCell : UICollectionViewCell

@property (nonatomic, strong) TTHomeListModel *model;
@property (nonatomic, assign) id<TTHomeListViewCellDelegate> delegate;

// 是否是收藏页面
- (void)setModel:(TTHomeListModel * _Nullable)model pageType:(NSInteger)pageType;

@end

NS_ASSUME_NONNULL_END
